package com.lu.sys.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * course
 * @author 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("课程表实体")
@TableName(value = "course")
public class Course implements Serializable {
    @TableId
    @ApiModelProperty(value = "主键课程表id")
    private Integer id;

    /**
     * 课程标题
     */
    @ApiModelProperty(value = "课程标题")
    private String title;
    @ApiModelProperty(value = "老师id")
    private Integer teacherId;

    /**
     * 老师名称
     */
    @ApiModelProperty(value = "老师名称")
    private String teacherName;

    /**
     * 课程描述
     */
    @ApiModelProperty(value = "课程描述")
    private String description;

    /**
     * 课程封面
     */
    @ApiModelProperty(value = "课程封面id")
    private Integer coverFileId;

    @ApiModelProperty(value = "课程封面名称")
    private String coverFileName;

    private static final long serialVersionUID = 1L;
}